package com.example.web.sys_role_menu.mapper;

import com.example.web.sys_role_menu.entity.RoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LS
 * @since 2024-02-21
 */
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {

    //报错角色菜单
    boolean saveRoleMenu(@Param("roleId") Long roleId, @Param("menuIds") List<Long> menuIds);

}
